package com.ccp.dev.system.model.menuauto;

/**
 * 每个方法的数据，用来构造Resources对象
 *
 * @author Administrator
 */
public class MethodInfoModel {
    /**
     * 方法名称
     */
    private String methodName;
    /**
     * 方法上的requestMapping的路径value
     */
    private String methodReqMapValue;
    /**
     * 完整的URL路径
     */
    private String completeUrl;
    /**
     * 方法上的Action注解的description值，做为菜单的名称
     */
    private String actionDesc;
    /**
     * 菜单名称对应的拼音
     */
    private String actionDescPY;
    /**
     * 是否显示到菜单，list注解的方法显示到菜单
     */
    private boolean showInMenu;
    /**
     * 是否有子菜单，list注解的方法有子菜单
     */
    private boolean hasChildren;

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodReqMapValue() {
        return methodReqMapValue;
    }

    public void setMethodReqMapValue(String methodReqMapValue) {
        this.methodReqMapValue = methodReqMapValue;
    }

    public String getCompleteUrl() {
        return completeUrl;
    }

    public void setCompleteUrl(String completeUrl) {
        this.completeUrl = completeUrl;
    }

    public String getActionDesc() {
        return actionDesc;
    }

    public void setActionDesc(String actionDesc) {
        this.actionDesc = actionDesc;
    }

    public String getActionDescPY() {
        return actionDescPY;
    }

    public void setActionDescPY(String actionDescPY) {
        this.actionDescPY = actionDescPY;
    }

    public boolean isShowInMenu() {
        return showInMenu;
    }

    public void setShowInMenu(boolean showInMenu) {
        this.showInMenu = showInMenu;
    }

    public boolean isHasChildren() {
        return hasChildren;
    }

    public void setHasChildren(boolean hasChildren) {
        this.hasChildren = hasChildren;
    }

    @Override
    public String toString() {
        return "MethodInfoModel [methodName=" + methodName + ", methodReqMapValue=" + methodReqMapValue
                + ", completeUrl=" + completeUrl + ", actionDesc=" + actionDesc + ", actionDescPY=" + actionDescPY
                + ", showInMenu=" + showInMenu + ", hasChildren=" + hasChildren + "]\r\n";
    }


}
